Microsoft® Script Debugger
Debug Menu
Home |

See Also


Continue
Causes execution to resume from the current statement.

Toolbar button: Keyboard shortcut: F5

Break at Next Statement
Causes execution to stop at the next scripting code statement that's encountered.

Toolbar button:

Step Into
Executes one statement at a time. Step Into executes the statement at the current execution point. If the statement is a call to a procedure, the next statement displayed is the first statement in the procedure.

If there is no current execution point, the Step Into command may appear to do nothing until you do something that triggers code, for example, click on a document or something on the document.

Toolbar button:

Step Over
Similar to Step Into. The difference in use occurs when the current statement contains a call to a procedure.

Step Over executes the procedure as a unit, and then steps to the next statement in the current procedure. Therefore, the next statement displayed is the next statement in the current procedure regardless of whether the current statement is a call to another procedure.

Toolbar button: Keyboard shortcut: SHIFT+F8

Step Out
Executes the remaining lines of a procedure in which the current execution point lies. The next statement displayed is the statement following the procedure call. All of the code is executed between the current and the final execution points.

Toolbar button: Keyboard shortcut: CTRL+SHIFT+F8

Toggle Breakpoint
Sets or removes a breakpoint at the current line. You can't set a breakpoint on lines containing nonexecutable code such as comments, declaration statements, or blank lines.

Keyboard shortcut: F9

Clear All Breakpoints
Removes all breakpoints in your script. Your script may still interrupt execution, however, if you have embedded Stop (VBScript) or debugger (JScript) statements.

Show Next Statement
Highlights the next statement to be executed. Use the Show Next Statement command to place the cursor on the line that will execute next.


© 1996 by Microsoft Corporation.